<!DOCTYPE html>
<html>
	<head>
		<meta charset="<?php echo $cfg_soft_lang; ?>">
		<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
		<title>DedeBIZ menu</title>
		<link rel="stylesheet" href="../static/web/css/admin.css">
		<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
		<script src="../static/web/js/webajax.js"></script>
		<script src="../static/web/js/jquery.min.js"></script>
		<?php echo "<script>var curopenItem = '$openitem';</script>"; ?>
		<script src="js/leftmenu.js"></script>
		<style>
			body {
				margin: 0;
				background: #f6f6f6;
				padding-left: 6px;
				overflow: scroll;
				overflow-x: hidden
			}
			img {
				margin-right: 0;
				border-radius: 0;
				vertical-align: top
			}
			div {
				margin: 0;
				padding: 0
			}
			dl.bitem {
				margin: 0 0 2px 10px;
				width: 140px;
				background: url(../static/web/img/menunewbg.gif)repeat-x;
				clear: both
			}
			dl.bitem2 {
				margin: 0 0 2px 10px;
				width: 140px;
				background: url(../static/web/img/menunewbg2.gif)repeat-x;
				clear: both
			}
			dl.bitem dt,
			dl.bitem2 dt {
				padding-left: 30px;
				height: 26px;
				line-height: 26px;
				cursor: pointer
			}
			dl.bitem dd,
			dl.bitem2 dd {
				padding: 10px;
				background: #fff
			}
			dl.bitem dt b,
			dl.bitem2 dt b {
				color: #4f7632
			}
			a.mm div {
				padding: 6px 4px 4px 10px;
				height: 40px;
				color: #424b51;
				background: url(../static/web/img/leftmbg1.gif)no-repeat;
				cursor: pointer
			}
			a.mm:hover div {
				color: #4f7632;
				background: url(../static/web/img/leftbg2.gif)no-repeat
			}
			a.mmac div {
				padding: 6px 4px 4px 10px;
				height: 40px;
				color: #4f7632;
				background: url(../static/web/img/leftbg2.gif)no-repeat
			}
			#mainct {
				padding-top: 12px;
				background: url(../static/web/img/idnbg1.gif)repeat-y
			}
			.sitemu li {
				padding: 0 0 0 20px;
				height: 26px;
				line-height: 26px;
				background: url(../static/web/img/arr4.gif)no-repeat 6px 10px
			}
			.fllct {
				float: left;
				width: 86px
			}
			.flrct {
				float: left;
			}
			.fa-minus-circle {
				color: #dc3545
			}
			.fa-plus-circle {
				color: #28a745
			}
		</style>
		<base target="main">
	</head>
	<body target="main" onLoad="CheckOpenMenu();">
		<table cellspacing="0" cellpadding="0">
			<tr>
				<td width="27" valign="top" style="padding-top:10px">
					<a id="link1" class="mmac">
						<div onClick="ShowMainMenu(1)"><b>运维<b></div>
					</a>
					<a id="link100" class="mm">
						<div onClick="ShowMainMenu(100)"><b>插件<b></div>
					</a>
					<a id="link5" class="mm">
						<div onClick="ShowMainMenu(5)"><b>更新<b></div>
					</a>
					<a id="link6" class="mm">
						<div onClick="ShowMainMenu(6)"><b>会员<b></div>
					</a>
					<?php
					if($cuserLogin->getUserType()>=10) {
					?>
					<a id="link7" class="mm">
						<div onClick="ShowMainMenu(7)"><b>模板<b></div>
					</a>
					<a id="link10" class="mm">
						<div onClick="ShowMainMenu(10)"><b>系统<b></div>
					</a>
					<?php
					}
					?>
				</td>
				<td width="170" valign="top" id="mainct">
					<div id="ct1">
						<?php
						GetMenus($cuserLogin->getUserRank(),'main');
						?>
					</div>
					<div id="ct100"></div>
					<div id="ct3"></div>
					<div id="ct5"></div>
					<div id="ct6"></div>
					<div id="ct7"></div>
					<div id="ct20"></div>
					<div id="ct10"></div>
				</td>
			</tr>
			<tr>
				<td></td>
				<td><img src="../static/web/img/idnbgfoot.gif"></td>
			</tr>
		</table>
		<?php
		if(!empty($openitem) && $openitem!=1)
		{
		?>
		<script>
			ShowMainMenu(100);
		</script>
		<?php
		}
		?>
	</body>
</html>